package com.jk.dao;

import com.jk.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PopDao {

    @Select("select * from t_product where product_recommend=1")
    public List<Product> getPop();
}
